﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Shake.Framework.View;
using Shake.Framework.Attributes;
using Shake.Business.Infrastructures;

namespace Shake.Web.Controllers
{
    [Grant("开发管理")]
    [Theme("LayUiAdmin")]
    public class MenuBuildController : Controller
    {
        public IMenuBuildService MenuBuildService { get; set; }

        public ActionResult Build()
        {
            var result = MenuBuildService.Build();
            return this.PostResult(result);
        }
    }
}